<html>
<body>

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="teamSelector.js"></script>
<link href="style.css" rel="stylesheet" type="text/css" />

<?
include_once("config.php");
include_once("functions.php");
session_start();

//TODO: account for multiple drafts
$teams = getOrphanTeams(1);
if ($teams)
{
	echo "<table class='team-table'>";
	foreach($teams as $t)
	{
		echo $t->asTableRow();
	}
	echo "</table>";
}
else
{
	echo "There are no teams left for you to pick";
}

?>



</body>
</html>